-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharad/instrumentation #373
Conversation
fix: incorporate pending transactions into nonce check
feat: add pnl for prosper
host: process.env.DB_HOST || 'localhost', | ||
port: Number(process.env.DB_PORT) || 5432, | ||
database: process.env.DB_DATABASE || 'tracing_database', | ||
user: process.env.DB_USER || 'trace_user', |
Check failure
Code scanning / CodeQL
Hard-coded credentials Critical
user name
) | ||
.join("\n"); | ||
state.title = content.title; | ||
state.body = content.body.replace(/\n/g, '\\n').replace(/`/g, '\\`'); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix AI 16 days ago
To fix the problem, we need to ensure that backslashes in the input string are properly escaped. This can be done by adding a replace call to escape backslashes before escaping other characters. Specifically, we should replace each backslash with a double backslash. This ensures that any backslashes in the input are correctly handled and do not cause issues in subsequent processing.
-
Copy modified line R94
@@ -93,3 +93,3 @@ | ||
state.title = content.title; | ||
state.body = content.body.replace(/\n/g, '\\n').replace(/`/g, '\\`'); | ||
state.body = content.body.replace(/\\/g, '\\\\').replace(/\n/g, '\\n').replace(/`/g, '\\`'); | ||
|
|
||
// Detect file header | ||
if (line.startsWith("diff --git")) { | ||
const match = line.match(/a\/(.+) b\/(.+)/); |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
🔄 Architecture and Tracing System Updates
Key Changes
Optimized tracing system:
raw_context
andraw_response
storage fromtraces
tabledbSpanProcessor.ts
Enhanced text generation:
Technical Details
Modified PostgreSQL schema:
DEFAULT
clauses forraw_context
andraw_response
Other Updates:
.gitignore
entries for build directories and documentationDependencies
is-weakref
from1.1.0
to1.1.1
Documentation